subtracting polynomials with exponents